/* 用户管理模块相关接口 */
import http from "../utils/request";

export const userSearch = (username: string, nickName: string, email: string, pageNo:number, pageSize: number)=> {
    return http.get("/user/list", {
        params: {
            username,
            nickName,
            email,
            pageNo,
            pageSize
        }
    })
}

export const freeze = (id: number)=>{
    return http.get("/user/freeze", {
        params: {id}
    })
}
